package com.yanqu.road.entity.player;

import com.yanqu.road.entity.DataObject;

/**
 * @author ：zfr
 * @date ：2021/4/27 10:21
 */
public class UserSkinVolumeData extends DataObject {
    private long userId;            //玩家id
    private int embroideryMeter;    //刺绣米数
    private long piecesCount;       //残片总数量
    private long skinWayGet;        //皮肤途径获得的残片数量（皮肤解锁；皮肤升级）
    private long otherWayGet;       //其他途径获得的残片数量
    private long usedPiecesCount;   //已使用的残片数量

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getEmbroideryMeter() {
        return embroideryMeter;
    }

    public void setEmbroideryMeter(int embroideryMeter) {
        if (this.embroideryMeter != embroideryMeter) {
            this.embroideryMeter = embroideryMeter;
            setUpdateOption();
        }
    }

    public long getPiecesCount() {
        return piecesCount;
    }

    public void setPiecesCount(long piecesCount) {
        if (this.piecesCount != piecesCount) {
            this.piecesCount = piecesCount;
            setUpdateOption();
        }
    }

    public long getSkinWayGet() {
        return skinWayGet;
    }

    public void setSkinWayGet(long skinWayGet) {
        if (this.skinWayGet != skinWayGet) {
            this.skinWayGet = skinWayGet;
            setUpdateOption();
        }
    }

    public long getOtherWayGet() {
        return otherWayGet;
    }

    public void setOtherWayGet(long otherWayGet) {
        if (this.otherWayGet != otherWayGet) {
            this.otherWayGet = otherWayGet;
            setUpdateOption();
        }
    }

    public long getUsedPiecesCount() {
        return usedPiecesCount;
    }

    public void setUsedPiecesCount(long usedPiecesCount) {
        if (this.usedPiecesCount != usedPiecesCount) {
            this.usedPiecesCount = usedPiecesCount;
            setUpdateOption();
        }
    }
}
